package org.jeecgframework.web.util;

import org.springframework.http.HttpEntity;
import org.springframework.http.HttpHeaders;
import org.springframework.http.MediaType;
import org.springframework.web.client.RestTemplate;

public class StaticValue {

    public static String UPLOAD_PATH = "F:/fileUpload/";//原E盘已满，挪至F盘
    public static String CkEditor_UPLOAD_PATH = "ckfileUpload/";

    public static String QrCode_UPLOAD_PATH = "F:/fileUploadQrcode/"; // APP生成二维码,存放的二维码路径

    public static String OFFICE_HOME = "C:\\Program Files (x86)\\OpenOffice 4";

    public static String COMMON_EMAIL_ADDRESS = "dl_bjv_helpdesk@cfg-barco.com";

    public static String WECHAT_SESSION_ATTRIBUTE = "openId";

    //public static final String UPLAOD_FILE_PATH = "C:/files_download/";

    //正式地址
    public static final String HTTP_HEADER = "http://cbs.cfg-barco.com/cbs/";
    //测试地址
//    public static final String HTTP_HEADER = "http://wxcs.cfg-barco.com:12284/CBS/";
//    public static final String HTTP_HEADER = "http://192.168.1.101/CBS/";

    /**
     * 微信端footer网址
     */
    public static String CBS_WX_FOOTER = "http://www.cfg-barco.com";


    public static final String RESPONSE_KEY = "20B8F59808483F41BA23A74BEC7E5E52";


    public static final String REQUEST_KEY = "D6A1EE160C0C381C95592DA07DD56574";

    //public static final String PROJECT_URL="http://yspdm.wanda-dev.cn:8080/MPDM/service/inf/";

    public static final String PROJECT_URL = "http://10.1.192.137/MPDM/service/inf/";

    /**
     * 微信路径
     */
    public static String WX_CSS_JS_PATH = "webpage/com/wx/wx-plug-in/";

    /**
     * 微信发送消息模版ID      -- 操作成功 --
     * 内容说明
     * {{first.DATA}}
     * 内容：{{keyword1.DATA}}
     * 创建时间：{{keyword2.DATA}}
     * {{remark.DATA}}
     */
    //public static String SEND_WX_MSG_ACTION_SUCCESS_TEMPID = "";
    public static String SEND_WX_MSG_ACTION_SUCCESS_TEMPID = "rHpI18ewPKvQLVxVe2_tsi-JKGN-41TCV7qBdPEbirI";

    public static String WX_BIND_MSG_FARST = "认证审批完成";
    public static String WX_BIND_MSG_KEYWORD1 = "欢迎您成为中影巴可光影俱乐部认证会员";
    public static String WX_BIND_MSG_REMARK = "巴可服务热线400-88-22726";

    /**
     * session 短信验证码
     */
    public static final String SESSION_VeriCode = "veriCode";//VerificationCode

    public static String subFileName(String fileName) {
        return fileName.substring(fileName.lastIndexOf("/") + 1);
    }

    public static <T, E> T getResult(String url, E body, Class<T> resultType) {
        RestTemplate restTemplate = new RestTemplate();
//		List<HttpMessageConverter<?>> converters = new ArrayList<HttpMessageConverter<?>>();
//		converters.add(new ResourceHttpMessageConverter());
//		converters.add(new MappingJacksonHttpMessageConverter());
//		converters.add(new FormHttpMessageConverter());
//		converters.add(new StringHttpMessageConverter());
//		restTemplate.setMessageConverters(converters);

        HttpHeaders headers = new HttpHeaders();
        headers.setContentType(MediaType.APPLICATION_JSON);
        HttpEntity<E> entity = new HttpEntity<E>(body, headers);
        return restTemplate.postForObject(url, entity, resultType);
    }


    /**
     * ------------------微信接口 begin ↓↓↓↓↓------------------
     **/
    //public static String WX_INPUT_KEY ="";
    public static String WX_OUTPUT_KEY = "";
    public static String WX_GET_USER_INFO = "";
    //	public static String WX_PAGE_AUTHORIZE ="";
    public static String WX_SEND_MSG = "";
    //密匙   -- 传入
    public static String WX_INPUT_KEY = "9e5974e8bbe9379aa094300ff3542aef";
    //密匙   -- 传出
//    public static String WX_OUTPUT_KEY = "dc2eeb18955d46f7b6d6aa726520f124";
    //获取用户信息
//    public static String WX_GET_USER_INFO = "http://weixin.cfg-barco.com/userinfo.php";
    //网页授权
    //public static String WX_PAGE_AUTHORIZE = "http://weixin.cfg-barco.com/authorize.php";
    public static String WX_PAGE_AUTHORIZE = "http://wxfw.cfg-barco.com/cbs/authorize";
    //微信认证注册页面
    public static String WX_PAGE_REGISTER = "http://wxfw.cfg-barco.com/wechat/auth/aHR0cDovL3d4ZncuY2ZnLWJhcmNvLmNvbS9iYXJjby9odG1sL3VzZXJpZGVudGlmeS5odG1s";
    //发送消息
//    public static String WX_SEND_MSG = "http://weixin.cfg-barco.com/tempmsg.php";


    /*----------18/5/30------------------*/
    /*微信端数据受理接口路径*/
    public static String WX_PAGE_SHOULI = "http://wxfw.cfg-barco.com/api/v1/open/user/cbs/event?_format=json";
//    public static String WX_PAGE_SHOULI = "";
    //调用微信端发送模板消息
    public static String WX_SEND_MSG_NEW = "http://wxfw.cfg-barco.com/barco/tpl_msg?_format=json";
//    public static String WX_SEND_MSG_NEW = "";
    /*用户快速保修类型*/
    public static String KSBXTYPE = "KSBX"; /*用户快速报修*/
    public static String YQFXTYPE = "YQFX"; /*引擎翻新*/
    public static String GGFXTYPE = "GGFX";  /*光管翻新*/
    public static String SBYJTYPE = "SBYJ";  /*设备移机*/
    public static String SBWBTYPE = "SBWB";  /*设备维保*/

    /**------------------微信接口 end   ↑↑↑↑↑------------------**/

    /**------------------字典表变量 begin ↓↓↓↓↓------------------**/
    /**
     * 是 或 否
     */
    public final static String DIC_TRUE_OR_FALSE = "TureOrFalse";
    /**
     * 是
     */
    public final static String DIC_TRUE_OR_FALSE_TRUE = "true";
    /**
     * 否
     */
    public final static String DIC_TRUE_OR_FALSE_FALSE = "False";
    /**
     * 是 或 否 数字
     */
    public final static String DIC_TRUE_OR_FALSE_NUM = "trueOfFlaseNum";
    /**
     * 是
     */
    public final static String DIC_TRUE_OR_FALSE_NUM_1 = "1";
    /**
     * 否
     */
    public final static String DIC_TRUE_OR_FALSE_NUM_0 = "0";

    /**
     * 设备服务状态
     */
    public final static String DIC_SERVER_STATE = "serverState";
    /**
     * 使用中
     */
    public final static String DIC_SERVER_STATE_1001 = "1001";
    /**
     * 未使用
     */
    public final static String DIC_SERVER_STATE_1002 = "1002";
    /**
     * 停止使用
     */
    public final static String DIC_SERVER_STATE_1003 = "1003";
    /**
     * 计划巡检季度
     */
    public final static String DIC_PLAN_INSPECTION_QUARTER = "planInspectionQuarter";
    /**
     * 第一季度
     */
    public final static String DIC_PLAN_INSPECTION_QUARTER_ONE = "quarter_one";
    /**
     * 第二季度
     */
    public final static String DIC_PLAN_INSPECTION_QUARTER_TWO = "quarter_two";
    /**
     * 第三季度
     */
    public final static String DIC_PLAN_INSPECTION_QUARTER_THREE = "quarter_three";
    /**
     * 第四季度
     */
    public final static String DIC_PLAN_INSPECTION_QUARTER_FOUR = "quarter_four";
    /**
     * 巡检单位机构 （对应 组织机构 code）
     */
    public final static String DIC_INSPECTION_COMPANY = "inspectionCompany";
    /**
     * 天影
     */
    public final static String DIC_INSPECTION_COMPANY_TIANYING = "02";
    /**
     * 智信
     */
    public final static String DIC_INSPECTION_COMPANY_ZHIXIN = "03";
    /**
     * 时代
     */
    public final static String DIC_INSPECTION_COMPANY_SHIDAI = "05";
    /**
     * 横店
     */
    public final static String DIC_INSPECTION_COMPANY_HENGDIAN = "04";
    /**
     * 光路
     */
    public final static String DIC_LIGHT_PATH = "lightPath";
    /**
     * 光路1
     */
    public final static String DIC_LIGHT_PATH_01 = "path_01";
    /**
     * 光路2
     */
    public final static String DIC_LIGHT_PATH_02 = "path_02";
    /**
     * 性别Boolean
     */
    public final static String DIC_GENDER = "gender";
    /**
     * 男
     */
    public final static String DIC_GENDER_TRUE = "true";
    /**
     * 女
     */
    public final static String DIC_GENDER_FALSE = "false";
    /**
     * 巡检计划状态
     */
    public final static String DIC_PLAN_STATE = "planState";
    
    /**
     * 巡检计划状态第三方专用
     */
    public final static String DIC_PLAN_STATE2 = "planState2";
    /**
     * 待处理
     */
    public final static String DIC_PLAN_STATE_TODO = "a_todo";
    /**
     * 已分配到第三方
     */
    public final static String DIC_PLAN_STATE_SEND_TO_THIRDPARTY = "b_sended_to_thirdParty";
    /**
     * 第三方拒绝
     */
    public final static String DIC_PLAN_STATE_THIRDPARTY_REFUSED = "c_third_party_refuse";
    /**
     * 第三方分配
     */
    public final static String DIC_PLAN_STATE_THIRDPARTY_ASSIGNED = "d_third_party_assigned";
    /**
     * 工程师拒绝
     */
    public final static String DIC_PLAN_STATE_ENGINEER_REFUSED = "e_engineer_refused";
    /**
     * 工程师接受
     */
    public final static String DIC_PLAN_STATE_ENGINEER_ASSIGNED = "f_engineer_assigned";
    /**
     * 工程师实施中
     */
    public final static String DIC_PLAN_STATE_ENGINEER_IN_IMPLEMENT = "g_engineer_in_implement";
    /**
     * 区域工程师拒绝
     */
    public final static String DIC_PLAN_STATE_AREA_ENGINEER_REFUSED = "h_aeg_refused";
    /**
     * 区域工程师已分配
     */
    public final static String DIC_PLAN_STATE_AREA_ENGINEER_ASSIGNED = "i_aeg_assigned";
    /**
     * 已完成巡检计划
     */
    public final static String DIC_PLAN_STATE_INSPECTION_COMPLETE = "j_inspection_complete";
    /**
     * 巡检计划已取消
     */
    public final static String DIC_PLAN_STATE_INSPECTION_CANCEL = "k_inspection_cancel";
    /**
     * 机构类型
     */
    public final static String DIC_ORG_TYPE = "org_type";
    /**
     * 院线
     */
    public final static String DIC_ORG_TYPE_THEATER = "theater";
    /**
     * 公司
     */
    public final static String DIC_ORG_TYPE_COMPANY = "company";
    /**
     * 经销商
     */
    public final static String DIC_ORG_TYPE_DEALER = "dealer";
    /**
     * 第三方
     */
    public final static String DIC_ORG_TYPE_THIRD_PARTY = "third_party";
    /**
     * 物流
     */
    public final static String DIC_ORG_TYPE_LOGISTICS = "logistics";
    /**
     * 组织机构 - 业务范围
     */
    public final static String DIC_BUS_SCOPE = "bus_scope";
    /**
     * 巡检
     */
    public final static String DIC_BUS_SCOPE_INSPECTION = "inspection";
    /**
     * 维修
     */
    public final static String DIC_BUS_SCOPE_REPAIR = "repair";
    /**
     * 移机
     */
    public final static String DIC_BUS_SCOPE_MOVE = "move";
    /**
     * 安装
     */
    public final static String DIC_BUS_SCOPE_INSTALL = "install";
    /**
     * 改造
     */
    public final static String DIC_BUS_SCOPE_REBUILD = "rebuild";
    /**
     * 联系人职位
     */
    public final static String DIC_CONTACT_POSITION = "contact_position";
    /**
     * 影院经理
     */
    public final static String DIC_CONTACT_POSITION_C_MANAGER = "c_manager";
    /**
     * 技术主管
     */
    public final static String DIC_CONTACT_POSITION_C_TECHNICAL_DIRECTOR = "c_technical_director";
    /**
     * 影院技术员
     */
    public final static String DIC_CONTACT_POSITION_C_TECHNICIAN = "c_technician";
    /**
     * 第三方服务商经理
     */
    public final static String DIC_CONTACT_POSITION_TP_SERVICE_MANAGER = "tp_service_manager";
    /**
     * 第三方服务商商务
     */
    public final static String DIC_CONTACT_POSITION_TP_SERVER_BUSINESSR = "tp_server_businessr";
    /**
     * 第三方工程师
     */
    public final static String DIC_CONTACT_POSITION_TP_ENGINEER = "tp_engineer";
    /**
     * 第三方区域工程师
     */
    public final static String DIC_CONTACT_POSITION_TP_AREA_ENGINEER = "tp_area_engineer";
    /**
     * 可总经理
     */
    public final static String DIC_CONTACT_POSITION_BARCO_GENERAL_MANAGER = "barco_general_manager";
    /**
     * 副总经理
     */
    public final static String DIC_CONTACT_POSITION_BARCO_VICE_GENERAL_MANAGER = "barco_vice_general_manager";
    /**
     * 总监
     */
    public final static String DIC_CONTACT_POSITION_DIRECTOR = "director";
    /**
     * 部门经理
     */
    public final static String DIC_CONTACT_POSITION_DEPARTMENT_MANAGER = "department_manager";
    /**
     * 顾问
     */
    public final static String DIC_CONTACT_POSITION_ADVISER = "adviser";
    /**
     * 职员
     */
    public final static String DIC_CONTACT_POSITION_EMPLOYEE = "employee";
    /**
     * 联系人类型
     */
    public final static String DIC_CONTACT_TYPE = "contact_type";
    /**
     * 影院联系人
     */
    public final static String DIC_CONTACT_TYPE_CINEMA_CONTACT = "cinema_contact";
    /**
     * 第三方联系人
     */
    public final static String DIC_CONTACT_TYPE_TP_CONTACT = "tp_contact";
    /**
     * 普通用户
     */
    public final static String DIC_CONTACT_TYPE_ORDINARY = "tp_ordinary";
    /**
     * 微信用户
     */
    public final static String DIC_CONTACT_TYPE_WX_CONTACT = "wx_contact";
    /**
     * 工程师在职状态
     */
    public final static String DIC_ENGINEER_STATE = "engineer_state";
    /**
     * 在职
     */
    public final static String DIC_ENGINEER_STATE_ONJOB = "onJob";
    /**
     * 离职
     */
    public final static String DIC_ENGINEER_STATE_QUIT = "quit";
    /**
     * 证书类型
     */
    public final static String DIC_CERTIFICATE = "certificate";
    /**
     * E-LEARNING
     */
    public final static String DIC_CERTIFICATE_E_LEARNING = "E-LEARNING";
    /**
     * DCIC-I
     */
    public final static String DIC_CERTIFICATE_DCIC_I = "DCIC-Ⅰ";
    /**
     * DCIC-II
     */
    public final static String DIC_CERTIFICATE_DCIC_II = "DCIC-Ⅱ";
    /**
     * DCAC
     */
    public final static String DIC_CERTIFICATE_DCAC = "DCAC";
    /**
     * 证书对应业务类型
     */
    public final static String DIC_CERTIFICATE_BUSSINESS = "certificate_bussiness";
    /**
     * 操作巡检计划类型 - 更新（只限没有启动的巡检计划流程的巡检计划）
     */
    public final static String DIC_PLAN_OPERATION_TYPE_UPDATE = "update";
    /**
     * 操作巡检计划类型 - 取消巡检计划（只有启动的流程可以取消巡检计划）
     */
    public final static String DIC_PLAN_OPERATION_TYPE_CANCEL = "cancel";
    /**
     * 设备维护项目
     */
    public final static String DIC_MAINTAIN_PROJECT = "maintainProject";
    /**
     * 温度
     */
    public final static String DIC_MAINTAIN_PROJECT_TEMPERATURE = "temperature";
    /**
     * 湿度
     */
    public final static String DIC_MAINTAIN_PROJECT_HUMIDITY = "humidity";
    /**
     * 冷却液压力
     */
    public final static String DIC_MAINTAIN_PROJECT_COOLANTPRESSURE = "coolantPressure";
    /**
     * 冷却液液面高度
     */
    public final static String DIC_MAINTAIN_PROJECT_COOLANTHEIGHT = "coolantHeight";
    /**
     * 亮度
     */
    public final static String DIC_MAINTAIN_PROJECT_BRIGHTNESS = "brightness";
    /**
     * 风速
     */
    public final static String DIC_MAINTAIN_PROJECT_WINDSPEED = "windSpeed";
    /**
     * 零地电压
     */
    public final static String DIC_MAINTAIN_PROJECT_ZEROGROUNDVOLTAGE = "zeroGroundVoltage";
    /**
     * 培训人数不足
     */
    public final static String DIC_MAINTAIN_PROJECT_TRAINING_NUM = "trainingNum";
    /**
     * 院线
     */
    public final static String DIC_CINEMA_LINE = "cinemaLine";
    /**
     * 院线
     */
    public final static String DIC_CINEMA_LINE_ONE = "wan_da";
    /**
     * 院线
     */
    public final static String DIC_CINEMA_LINE_TWO = "xing_mei";
    /**
     * 院线
     */
    public final static String DIC_CINEMA_LINE_THREE = "liang_he";
    /**
     * 院线
     */
    public final static String DIC_CINEMA_LINE_FOUR = "da_di";
    /**
     * 院线
     */
    public final static String DIC_CINEMA_LINE_FIVE = "jin_yi_zhu_jiang";
    /**
     * 影院服务状态
     */
    public final static String DIC_CINEMA_SERVICE = "cinmeaService";
    /**
     * 服务中
     */
    public final static String DIC_CINEMA_INSERVICE = "inservice";
    /**
     * 暂停服务
     */
    public final static String DIC_CINEMA_PUSH = "push";
    /**
     * 工作状态
     */
    public final static String DIC_YES_NO = "yesorno";
    /**
     * 是
     */
    public final static String DIC_YES = "Y";
    /**
     * 否
     */
    public final static String DIC_NO = "N";
    /**
     * 工程师类别
     */
    public final static String DIC_ENGINEER_TYPE = "engineerType";
    /**
     * 影院工程师
     */
    public final static String DIC_ENGINEER_TYPE_ONE = "cinmea";
    /**
     * 第三方工程师
     */
    public final static String DIC_ENGINEER_TYPE_TWO = "third_party";
    /**
     * 巡检报告中 - 维护前状态
     */
    public final static String DIC_BEFORE_MAINTAIN_STATE = "before_maintain_state";
    public final static String DIC_BEFORE_MAINTAIN_STATE_01 = "1";
    public final static String DIC_BEFORE_MAINTAIN_STATE_03 = "3";
    public final static String DIC_BEFORE_MAINTAIN_STATE_05 = "5";
    /**
     * 巡检报告 - 维护后评分
     */
    public final static String DIC_AFTER_SCORE = "afterScore";
    /**
     * 巡检报告附件类型
     */
    public final static String DIC_REPORT_ATTACH_TYPE = "report_attach_type";
    /**
     * 巡检图片
     */
    public final static String DIC_REPORT_ATTACH_TYPE_INSPECTION_IMAGE = "inspection_image";
    /**
     * 诊断包
     */
    public final static String DIC_REPORT_ATTACH_TYPE_DIAGNOSE_PACKAGE = "diagnose_package";
    /**
     * 巡检完工单图片
     */
    public final static String DIC_REPORT_ATTACH_TYPE_COMPLETION_IMAGE = "completion_image";
    /**
     * 巡检报告_电路板箱
     */
    public final static String DIC_QJELEBOXCLMP = "qjEleBoxClMp";
    /**
     * 巡检报告_收费项目
     */
    public final static String DIC_GXLIGHTPATHCHARGESMP = "gxLightPathChargesMp";
    /**
     * 光管翻新
     */
    public final static String DIC_GXLIGHTPATHCHARGESMP_1 = "1";
    /**
     * 引擎翻新
     */
    public final static String DIC_GXLIGHTPATHCHARGESMP_2 = "2";
    /**
     * 深度清洁
     */
    public final static String DIC_GXLIGHTPATHCHARGESMP_3 = "3";
    /**
     * 巡检报告_影像质量
     */
    public final static String DIC_YXFOCUSSTATE = "yxFocusState";
    /**
     * 巡检报告_软件升级
     */
    public final static String DIC_RJICMPTMSMP = "rjIcmptmsMp";
    /**
     * 巡检报告_培训重点
     */
    public final static String DIC_TRAININGPOTINT = "trainingPoint";
    /**
     * 巡检报告_影响亮度因素
     */
    public final static String DIC_YXINFLULIGHTFACOTR = "yxInfluLightFactor";
    /**
     * 巡检设备变更申请审批状态
     */
    public final static String DIC_EQ_CHANGE_REQ_STATE = "eq_change_req_state";
    /**
     * 未审批
     */
    public final static String DIC_EQ_REQ_STATE_NOT_APPROVAL = "not_approval";
    /**
     * 已通过
     */
    public final static String DIC_EQ_REQ_STATE_PASS = "pass";
    /**
     * 未通过
     */
    public final static String DIC_EQ_REQ_STATE_NOT_PASS = "not_pass";

    /*巡检报告_影厅综合评价*/
    public final static String DIC_YT_PROBLEM = "ytproblem";
    /*灰尘过大*/
    public final static String DIC_YT_PROBLEM_HCGD = "hcgd";
    /*油烟污染*/
    public final static String DIC_YT_PROBLEM_YYWY = "yywy";
    /*放映机吊装*/
    public final static String DIC_YT_PROBLEM_FYJDZ = "fyjdz";
    /*空间狭小*/
    public final static String DIC_YT_PROBLEM_KJXX = "kjxx";
    /*正在装修*/
    public final static String DIC_YT_PROBLEM_zzzx = "zzzx";


    /**
     * 设备变更类型
     */
    public final static String DIC_EQ_CHANGE_TYPE = "eq_change_type";
    /**
     * 增加
     */
    public final static String DIC_EQ_CHANGE_TYPE_ADD = "add";
    /**
     * 减少
     */
    public final static String DIC_EQ_CHANGE_TYPE_REDUCE = "reduce";
    /**
     * 移机
     */
    public final static String DIC_EQ_CHANGE_TYPE_MOVE = "move";
    /**
     * 设备变更申请原因
     */
    public final static String DIC_REQ_REASON = "req_reason";
    /**
     * 系统记录缺失
     */
    public final static String DIC_REQ_REASON_SYS_RECORD_MISS = "sys_record_miss";
    /**
     * 收费服务
     */
    public final static String DIC_REQ_REASON_CHARGE_SERVICE = "charge_service";
    /**
     * 特批
     */
    public final static String DIC_REQ_REASON_SPECIAL_APPROVAL = "special_approval";
    /**
     * 其他
     */
    public final static String DIC_REQ_REASON_OTHERS = "others";
    /**
     * 文件状态
     */
    public final static String DIC_FILE_SET_TYPE = "fileStatus";
    /**
     * 新增SN
     */
    public final static String DIC_FILE_CREATE = "i";
    /**
     * 修改SN
     */
    public final static String DIC_FILE_UPDATE = "u";
    /**
     * 删除SN
     */
    public final static String DIC_FILE_DELETE = "d";
    /**
     * 文件类型
     */
    public final static String DIC_FILE_TYPE = "fileType";
    /**
     * xlsx
     */
    public final static String DIC_FILE_TYPE_XLSX = "xlsx";
    /**
     * IOS安装包
     */
    public final static String DIC_FILE_TYPE_IOS = "ipa";
    /**
     * 安卓安装包
     */
    public final static String DIC_FILE_TYPE_ANDROID = "apk";
    /**
     * 文件处理状态
     */
    public final static String DIC_FILE_SET_STATUS = "fileSetStatus";
    /**
     * 已处理
     */
    public final static String DIC_FILE_SET_OK = "1";
    /**
     * 未处理
     */
    public final static String DIC_FILE_SET_NO = "0";
    /**
     * 性别
     */
    public final static String DIC_SEX = "sex";
    /**
     * 男
     */
    public final static String DIC_SEX_MALE = "true";
    /**
     * 女
     */
    public final static String DIC_SEX_FEMALE = "false";
    /**
     * 联系业务
     */
    public final static String DIC_LINK_BUSINESS = "linkBusiness";
    /**
     * 安装
     */
    public final static String DIC_LINK_BUSINESS_INTALL = "intall";
    /**
     * 巡检
     */
    public final static String DIC_LINK_BUSINESS_INSPECTION = "inspection";
    /**
     * 维修
     */
    public final static String DIC_LINK_BUSINESS_REPAIR = "repair";
    /**
     * 移机
     */
    public final static String DIC_LINK_BUSINESS_SHIFT = "shift";
    /**
     * 改造
     */
    public final static String DIC_LINK_BUSINESS_REFORM = "reform";
    /**
     * 经营方式
     */
    public final static String DIC_BUSINESS_WAY = "business_way";
    /**
     * 加盟
     */
    public final static String DIC_LEAGUE_WAY = "league_way";
    /**
     * 直营
     */
    public final static String DIC_DIRECT_WAY = "direct_way";
    /**
     * 序列号验证异常来源
     */
    public final static String DIC_SN_EXCEPTION_SOURCE = "snExceptionSource";
    /**
     * 巡检
     */
    public final static String DIC_SN_EXCEPTION_SOURCE_INSPECTION = "inspection";
    /**
     * 序列号异常验证处理结果
     */
    public final static String DIC_SN_CHECK_DEAL_RESULT = "snCheckDealResult";
    /**
     * 待处理
     */
    public final static String DIC_SN_CHECK_DEAL_RESULT_TODO = "todo";
    /**
     * 已处理
     */
    public final static String DIC_SN_CHECK_DEAL_RESULT_DONE = "done";
    /**
     * 已忽略
     */
    public final static String DIC_SN_CHECK_DEAL_RESULT_IGNORE = "ignore";
    /**
     * 所有方式
     */
    public final static String DIC_OWN_WAY = "own_way";
    /**
     * 自购
     */
    public final static String DIC_OWN_WAY_ONESELF = "oneself";
    /**
     * 租赁
     */
    public final static String DIC_OWN_WAY_RENT = "rent";
    /**
     * 银幕类型
     */
    public final static String DIC_SCREEN_TYPE = "screenType";
    /**
     * 等高白幕
     */
    public final static String DIC_SCREEN_TYPE_HIGHWHITE = "Highwhite";
    /**
     * 等宽白幕
     */
    public final static String DIC_SCREEN_TYPE_WIDTHWHITE = "widthwhite";
    /**
     * 等宽金属幕
     */
    public final static String DIC_SCREEN_TYPE_WIDTHMETAL = "widthmetal";
    /**
     * 等高金属幕
     */
    public final static String DIC_SCREEN_TYPE_HIGHMETAL = "highmetal";
    /**
     * 数字幕
     */
    public final static String DIC_SCREEN_TYPE_DIGITAL = "digital";
    /**
     * 采购单分类 - 耗材
     */
    public static String CBS_PARTINFO_SORT = "consumable";
    /**
     * 类型
     */
    public final static String DIC_GENRE = "genre";
    /**
     * 影院
     */
    public final static String DIC_GENRE_CINEMA = "cinema";
    /**
     * 机构
     */
    public final static String DIC_GENRE_AGENCY = "agency";
    /**
     * 销售单位
     */
    public final static String DIC_MARKET_UNIT = "marketUnit";
    /***/
    public final static String DIC_MARKET_UNIT_PC = "PC";
    /***/
    public final static String DIC_MARKET_UNIT_EA = "EA";
    /**
     * 扫码异常原因
     */
    public final static String DIC_SCANER_CODE_EX = "scaner_code_ex";
    /**
     * 无标签
     */
    public final static String DIC_SCANER_CODE_EX_1 = "ex_1";
    /**
     * 标签破损
     */
    public final static String DIC_SCANER_CODE_EX_2 = "ex_2";
    /**
     * 标签位置读取不到
     */
    public final static String DIC_SCANER_CODE_EX_3 = "ex_3";
    /**
     * 其它
     */
    public final static String DIC_SCANER_CODE_EX_4 = "ex_4";
    /**
     * 分类
     */
    public final static String CLASSIFY = "classify";
    /**
     * 配件
     */
    public final static String CLASSIFY_FITTING = "fitting";
    /**
     * 耗材
     */
    public final static String CLASSIFY_CONSUMABLE = "consumable";
    /**
     * APP消息 状态
     */
    public final static String DIC_APP_MESSAGE_STATE = "app_message_state";
    /**
     * 已读
     */
    public final static String DIC_APP_MESSAGE_STATE_READ = "read";
    /**
     * 未读
     */
    public final static String DIC_APP_MESSAGE_STATE_UNREAD = "unread";
    /**
     * 发票类型
     */
//    public final static String DIC_INVOICE_GENRE = "invoiceGenre";
    /**
     * 专用
     */
//    public final static String DIC_INVOICE_GENRE_DEDICATED = "dedicated";
    /**
     * 普通
     */
//    public final static String DIC_INVOICE_GENRE_ORDINARY = "ordinary";
    /**
     * 巡检报告异常类型
     */
    public final static String DIC_IR_EX_TYPE = "irExType";
    /**
     * 零地电压异常
     */
    public final static String DIC_IR_EX_TYPE_A = "A";
    /**
     * 湿度过大
     */
    public final static String DIC_IR_EX_TYPE_B = "B";
    /**
     * 温度异常
     */
    public final static String DIC_IR_EX_TYPE_C = "C";
    /**
     * 冷却液压力异常
     */
    public final static String DIC_IR_EX_TYPE_D = "D";
    /**
     * 冷却液面高度异常
     */
    public final static String DIC_IR_EX_TYPE_E = "E";
    /**
     * 亮度低
     */
    public final static String DIC_IR_EX_TYPE_F = "F";
    /**
     * 风速异常
     */
    public final static String DIC_IR_EX_TYPE_G = "G";
    /**
     * 参加培训人数不足
     */
    public final static String DIC_IR_EX_TYPE_H = "H";
    /**
     * 报价单HDBP限制
     */
    public final static String DIC_BJ_HDBP = "bj_hdbp";
    /**
     * BP
     */
    public final static String DIC_BJ_HDBP_BP = "bp";
    /**
     * ZY
     */
    public final static String DIC_BJ_HDBP_ZY = "zy";
    /**
     * HD
     */
    public final static String DIC_BJ_HDBP_HD = "hd";
    /**
     * 生成巡检计划来源
     */
    public final static String DIC_GENERATE_SOURCE = "generate_source";
    /**
     * 自动
     */
    public final static String DIC_GENERATE_SOURCE_AUTO = "auto";
    /**
     * 实时
     */
    public final static String DIC_GENERATE_SOURCE_REAL_TIME = "real_time";
    /**
     * 手动（存在于手动生成巡检计划里）
     */
    public final static String DIC_GENERATE_SOURCE_MANUAL = "manual";
    /**
     * 巡检月份
     */
    public final static String DIC_IP_MONTH = "ip_month";
    /**
     * 巡检月份-1月
     */
    public final static String DIC_IP_MONTH_1 = "1";
    /**
     * 巡检月份-2月
     */
    public final static String DIC_IP_MONTH_2 = "2";
    /**
     * 巡检月份-3月
     */
    public final static String DIC_IP_MONTH_3 = "3";
    /**
     * 巡检月份-4月
     */
    public final static String DIC_IP_MONTH_4 = "4";
    /**
     * 巡检月份-5月
     */
    public final static String DIC_IP_MONTH_5 = "5";
    /**
     * 巡检月份-6月
     */
    public final static String DIC_IP_MONTH_6 = "6";
    /**
     * 巡检月份-7月
     */
    public final static String DIC_IP_MONTH_7 = "7";
    /**
     * 巡检月份-8月
     */
    public final static String DIC_IP_MONTH_8 = "8";
    /**
     * 巡检月份-9月
     */
    public final static String DIC_IP_MONTH_9 = "9";
    /**
     * 巡检月份-10月
     */
    public final static String DIC_IP_MONTH_10 = "10";
    /**
     * 巡检月份-11月
     */
    public final static String DIC_IP_MONTH_11 = "11";
    /**
     * 巡检月份-12月
     */
    public final static String DIC_IP_MONTH_12 = "12";
    /**
     * 评价业务类型
     */
    public final static String DIC_EVALUATE_BUS_TYPE = "evaluate_bus_type";
    /**
     * 巡检计划
     */
    public final static String DIC_EVALUATE_BUS_TYPE_1 = "type_1";  /*巡检*/
    public final static String DIC_EVALUATE_BUS_TYPE_2 = "type_2";  /*维修*/
    public final static String DIC_EVALUATE_BUS_TYPE_3 = "type_3";  /*投诉*/
    public final static String DIC_EVALUATE_BUS_TYPE_4 = "type_4";   /*其他*/
    /**
     * 评价状态
     */
    public final static String DIC_EVALUATE_STATE = "evaluate_state";
    /**
     * 未评价
     */
    public final static String DIC_EVALUATE_STATE_0 = "0";
    /**
     * 已评价
     */
    public final static String DIC_EVALUATE_STATE_1 = "1";
    /**
     * 评价类型 hd/其它
     */
    public final static String DIC_EVALUATE_TYPE = "evaluate_type";
    public final static String DIC_EVALUATE_TYPE_HD = "hd";
    public final static String DIC_EVALUATE_TYPE_ELSE = "typeelse";
    /**------------------字典表变量 end   ↑↑↑↑↑------------------**/

    /**------------------流程变量 begin ↓↓↓↓↓------------------**/

    /**
     * 巡检流程
     */
    public final static String P_PROCESS_INSPECTION = "zyProcessInspection";
    /**
     * 巡检流程 - 巡检计划 关联实体类
     */
    public final static String P_FORM_ZY_INSPECTION_PLAN = "zy_inspection_plan";
    public final static String P_FORM_ZY_INSPECTION_PLAN_NODE01_USER = "barcoServerDirector";
    public final static String P_FORM_ZY_INSPECTION_PLAN_NODE02_USER = "thirdPartyHeader";
    public final static String P_FORM_ZY_INSPECTION_PLAN_NODE03_1_USER = "areaEngineer";
    public final static String P_FORM_ZY_INSPECTION_PLAN_NODE03_2_USER = "thirdPartyEngineer";
    /**
     * 区域工程师节点
     */
    public final static String P_PROCESS_INSPECTION_TASKNODE03_1 = "taskNode03-1";
    /**
     * 工程师节点
     */
    public final static String P_PROCESS_INSPECTION_TASKNODE03_2 = "taskNode03-2";
    /**
     * 设备变更申请流程
     */
    public final static String P_PROCESS_EUQIPMENT_CHANGE = "zyProcessEquipmentChange";
    /**
     * 设备变更申请流程 - 关联的实体类
     */
    public final static String P_FORM_ZY_EQUIPMENT_CHANGE = "zy_equipment_change";
    /**
     * 采购单流程
     */
    public static String CBS_PART_FLOW_KEY = "cbsPurchase";
    /**
     * 报价单流程
     */
    public static String CBS_QUOTATION_FLOW_KEY = "cbsQuotation";
    /**
     * 巡检预约流程KEY
     */
    public static String CBS_INSPECTION_APPOINTMENT_FLOW_KEY = "cbsInspectionAppointment";
    /**------------------流程变量 end   ↑↑↑↑↑------------------**/

    /**
     * ------------------导入业务类型 begin ↓↓↓↓↓------------------
     **/
    public final static String IMPORT_FILE_TYPE = "importType";
    /**
     * 定期导入安装记录
     */
    public final static String IMPORT_FILE_INTALL_RECORDER = "1";
    /**
     * 定期导入出厂记录
     */
    public final static String IMPORT_FILE_FACTORY_RECORDER = "2";
    /**
     * 定期导入保期记录
     */
    public final static String IMPORT_FILE_PERIOD_RECORDER = "3";
    /**
     * 导入机构基础数据
     */
    public final static String IMPORT_FILE_ORG_BASE_DATA = "4";
    /**
     * 导入影院基础数据
     */
    public final static String IMPORT_FILE_CINEMA_BASE_DATA = "5";
    /**
     * 导入影厅基础数据
     */
    public final static String IMPORT_FILE_HALL_BASE_DATA = "6";
    /**
     * 导入设备备件基础数据
     */
    public final static String IMPORT_FILE_EQUIPMENT_SPARE_BASE_DATA = "7";
    /**
     * 导入联系人基础数据
     */
    public final static String IMPORT_FILE_LINKMAN_BASE_DATA = "8";
    /**
     * 导入备件更换记录基础数据
     */
    public final static String IMPORT_FILE_SPARE_RECORDER_BASE_DATA = "9";
    /**
     * 导入巡检记录
     */
    public final static String IMPORT_FILE_INSPECTION_RECORD = "A";
    /**
     * 导入巴可大学证书
     */
    public final static String IMPORT_FILE_BK_CERTIFICATE = "B";
    /**
     * 导入中影续保
     */
    public final static String IMPORT_FILE_EQUIPMENT_SPARE_RENEWAL_DATA = "C";

    /**
     * 服务单上传的报价单附件信息，业务类型为报价单
     */
    public final static String FILE_SERVICE_OFFER_TYPE_DATA = "D";

    /**------------------导入业务类型 end   ↑↑↑↑↑------------------**/

    /**------------------自然变量 begin ↓↓↓↓↓------------------**/

    /**
     * 组织机构-巴可
     */
    public final static String ORG_CODE_BARCO = "01";
    /**
     * 组织机构-中影
     */
    public final static String ORG_CODE_ZY = "08";
    /**
     * 组织机构-横店
     */
    public final static String ORG_CODE_HD = "04";

    /**
     * 巴可服务商主管
     */
    public final static String RULE_CODE_BARCO_SERVER_DIRECTOR = "barcoServerDirector";
    /**
     * 巴可服务商负责人
     */
    public final static String RULE_CODE_BARCO_SERVER_CHARGE = "barcoServerCharge";
    /**
     * 巴可服务商主管
     */
    public final static String RULE_CODE_BARCO_CHIEF_INSPECTORS = "barcoChiefInspector";
    /**
     * 巴可CSA
     */
    public final static String RULE_CODE_BARCO_CSA = "barcoCSA";
    /**
     * 巴可值班CSA
     */
    public final static String RULE_CODE_BARCO_CSA_ZB = "barcoCSAZb";
    /**
     * 巴可项目管理
     */
    public final static String RULE_CODE_BARCO_PM = "barcoPM";
    /*巴克HD主管*/
    public final static String RULE_CODE_BARCO_HD_Manager = "barcoHDManager";
    /**
     * 巴可客户支持经理
     */
    public final static String RULE_CODE_BARCO_CSE_MANAGER = "barcoCSEManager";
    /**
     * 巴可客服部经理
     */
    public final static String RULE_CODE_BARCO_CS_MANAGER = "barcoCSManager";
    /**
     * 巴可客服总监
     */
    public final static String RULE_CODE_BARCO_CS_DIRECTOR = "barcoCSDirector";
    /**
     * 第三方-服务商商务
     */
    public final static String RULE_CODE_THIRDPARTY_HEADER = "thirdPartyHeader";
    /**
     * 第三方-服务商经理
     */
    public final static String RULE_CODE_THIRDPARTY_MANAGER = "thirdPartyManager";
    /**
     * 第三方区域工程师
     */
    public final static String RULE_CODE_AREA_ENGINEER = "areaEngineer";
    /**
     * 第三方工程师
     */
    public final static String RULE_CODE_THIRDPARTY_ENGINEER = "thirdPartyEngineer";
    /**
     * HD角色code
     */
    public final static String CBS_HD_ROLE_CODE = "barcoHelpdesk";
    /**
     * 物流
     */
    public final static String CBS_WL_ROLE_CODE = "logistics";

    /**
     * 管理员角色
     */
    public final static String ROLE_CODE_ADMIN = "admin";

    /**
     * 验证码 业务标识 - 登录
     */
    public final static String RANDOMCODE_LOGIN = "login";
    /**
     * 验证码 业务标识 - 找回密码
     */
    public final static String RANDOMCODE_RETRIEVE_PWD = "retrievePwd";
    /**
     * 验证码 业务标识 - 修改密码
     */
    public final static String RANDOMCODE_CHANGE_PWD = "changePwd";
    /**
     * 验证码 业务标识 - 修改手机号
     */
    public final static String RANDOMCODE_CHANGE_PHONE = "changePhone";
    /**
     * 验证码 业务标识 - 微信注册
     */
    public final static String RANDOMCODE_WX_CREATE = "wx_create";
    /**
     * 验证码 业务标识 - 微信扫码后手机号验证
     */
    public final static String RANDOMCODE_WX_CHECK = "wx_check";
    /**
     * 验证码 业务标识 - 快速报修
     */
    public final static String RANDOMCODE_QUICK_REPARIR = "quick_repair";
    /**
     * 验证码 业务标识 - 光管翻新
     */
    public final static String RANDOMCODE_GGFX = "gufx";
    /**
     * 验证码 业务标识 - 巡检预约
     */
    public final static String RANDOMCODE_XJYY= "xjyy";
    /**
     * 验证码 业务标识 - 引擎翻新
     */
    public final static String RANDOMCODE_YQFX = "yqfx";
    /**
     * 验证码 业务标识 - 设备移机
     */
    public final static String RANDOMCODE_SBYJ = "sbyj";
    /**
     * 验证码 业务标识 - 设备维保
     */
    public final static String RANDOMCODE_SBWB = "sbwb";
    /**
     * 验证码 业务标识 - 巡检变更
     */
    public final static String RANDOMCODE_XJBG = "xjbg";

    /**
     * 发送验证码  默认时效
     */
    public final static Integer SEND_RANDOMCODE_LIVETIME = 120;
    /**
     * 验证码超时时间(分钟)
     */
    public final static Integer SEND_RANDOMCODE_TIMEOUT = 10;

    /*订单前缀*/
    public final static String PROCUREMENT_NO_PRE = "SA";

    /*期望巡检季度字典分类*/
    public static final String DIC_APPOINT_EXPECT_SECTION = "expect_section";

    /*影院職位字典分类*/
    public static final String DIC_CINEMA_DEPART = "cinemaDepart";


    /**
     * ------------------自然变量 end   ↑↑↑↑↑------------------
     **/
    /*报表院线角色名称*/
    public static final String CHAIN_ROLE_LEADER = "leader";

    public static final String DIC_CHAIN_REPORT = "report_chain";

    public static final String DIC_SERVICE_MAILADDRESS = "wxServiceMailAddress";

    public static final String DIC_SERVICE_MAIL_PREFIX = "微信服务";

    /**
     * ------------------知识库类别 begin ↓↓↓↓↓------------------
     **/
    public final static String Know_Ledge_TYPE = "knowLedgeType";
    public final static String Know_Ledge_Doc = "knowLedgeDoc";   /*技术文档*/
    public final static String Know_Ledge_POLICY = "knowLedgePolicy";    /*服务政策*/
    public final static String Know_Ledge_NOTICE = "knowLedgeNotive";     /*最新通知*/
    public final static String Know_Ledge_MAINTAIN = "knowLedgeMaintain";   /* 清洁维护*/
    public final static String Know_Ledge_USE = "knowLedgeUse";    /*系统使用*/
    /**
     * ------------------知识库类别 end   ↑↑↑↑↑------------------
     **/


    /*Barco DP 版本*/
    public final static String Rj_barcor_dp_udt = "rj_barcor_dp_udt";
    /*TI/ICP版本*/
    public final static String Rj_ti_udt = "rj_ti_udt";
    /*ICMP版本*/
    public final static String Rj_icmp_udt = "rj_icmp_udt";


    /********************************   服务单状态  ***********************************************/
    public final static String Source_State = "cbsServiceState";
    public final static String yc = "-1";   /*服务单异常*/
    public final static String dcl = "1";   /*待处理*/
    public final static String ysl = "2";   /*已受理*/
    public final static String clz = "3";   /*处理中*/
    public final static String ywc = "4";   /*已完成*/
    public final static String yqx = "5";   /*已取消*/

    /********************************   发货状态  ***********************************************/
    public final static String Deliver_State = "deliver_status";
    public final static String CSAdfh = "1";   /*CSA待发货*/
    public final static String CSAqx = "9";   /*CSA取消发货*/
    public final static String qh = "4";   /*欠货中*/
    public final static String wldfh = "5";   /*物流待发货*/
    public final static String wlyfh = "6";   /*物流已发货*/
    public final static String qs = "7";   /*签收*/
    /********************************   物流发货列表专用状态  ***********************************************/
    public final static String Deliver_State1 = "deliver_status1";
    public final static String wldfh1 = "5";   /*物流待发货*/
    public final static String wlyfh1 = "6";   /*物流已发货*/
    public final static String qs1 = "7";   /*签收*/

    /********************************   发货单类型  ***********************************************/
    public final static String Deliver_Type = "Deliver_Type";
    public final static String bjsq = "1";   /*备件申请*/
    public final static String imax = "2";   /*IMAX*/
    public final static String jy = "3";   /*借用*/
    public final static String ljcg = "4";   /*零件采购*/
    public final static String dsp = "5";   /*灯索赔*/
    public final static String bjxs = "6";   /*备件新损*/
    public final static String qt = "7";   /*其他*/
    public final static String bjXiaos = "8";   /*备件销售*/

    /********************************   发货SLA  ***********************************************/
    public final static String Deliver_SLA = "fhSLA";
    public final static String pt = "1";   /*普通*/
    public final static String jj = "2";   /*加急*/
    public final static String dt = "3";   /*当天到*/

    /********************************   库位 ***********************************************/
    public final static String Deliver_KW = "kuwei";
    public final static String kuwei1 = "1";   /*库位1*/
    public final static String kuwei2 = "2";   /*库位2*/

    /********************************   是否达标  ***********************************************/
    public final static String Deliver_Standard = "isStandard";
    public final static String db = "1";   /*达标*/
    public final static String wdb = "2";   /*未达标*/


    /********************************   ETA是否达标  ***********************************************/
    public final static String ETA_STANDARD = "eta_standard";
    public final static String dbETA = "1";   /*达标*/
    public final static String wdbETA = "2";   /*未达标*/

    /********************************   签收是否延迟  ***********************************************/
    public final static String SIGN_STANDARD = "sign_standard";
    public final static String dbSign = "1";   /*延迟*/
    public final static String wdbSign = "2";   /*为延迟*/
    /********************************   是否达标  ***********************************************/
    public final static String zt = "zt";
    public final static String zt_1 = "1";   /*自提*/
    public final static String zt_2 = "2";   /*不是自提*/
    /********************************   是否返件  ***********************************************/
    public final static String IS_RETURN = "isreturn";
    public final static String isreturn_1 = "1";   /*不返件*/
    public final static String isreturn_2 = "2";   /*返件*/
    /*88888888888888888888888888888888888888888服务单来源88888888888888888888888888888888888888*/
    public final static String Source_Type = "cbsServiceSourceType";
    public final static String HdType = "1";  //hd新建
    public final static String weixin = "2";  //微信
    public final static String budan = "3";   //现场补单
    /*8888888888888888888888888888888888     服务单来源End  88888888888888888888888888888888888888*/


    /**************************************    备件申请审批状态    ******************************/
    public final static String State_Of_Approval = "stateOfApproval";
    public final static String wsp = "1"; /*未审批*/
    public final static String wtg = "3";  /*未通过*/
    public final static String ytg = "2";  /*已通过*/

    /***********************       END       **********************************/


    /**************************************    第三方处理进度    ******************************/
    public final static String Third_Party_Processing_Progress = "thirdPartyProcessingProgress";
    public final static String dfp = "0";    /*HD待分派*/
    public final static String dsfyjj = "1";    /*第三方已拒绝*/
    public final static String tfpdsf = "2";    /*已分派第三方*/
    public final static String dsfyfp = "3";    /*第三方已分配*/
    public final static String qygcsyfp = "4";     /*区域工程师已分配*/
    public final static String gcsyjs = "5";   /*工程师已接受*/
    public final static String gcsssz = "6";   /*工程师实施中*/
    public final static String fwywc = "7";   /*服务已完成*/
//		public final static String  fesjj = "8";   /*服务商已拒绝*/


    /***********************       END       **********************************/


    /**********************      特殊案例标记   ********************************/
    public final static String special_Case = "specialCase";
    public final static String jgjc = "jgjc";  //激光击穿
    public final static String glwr = "glwr";  //光路污染
    public final static String dgzzs = "dgzzs"; //导光柱灼烧
    public final static String dxzl = "dxzl"; //灯箱粘连
    public final static String yyjspqsh = "yyjspqsh"; //阴阳极适配器烧毁
    public final static String sbjs = "sbjs"; //设备进水
    public final static String wu = "wu"; //无


    /***********************       END       **********************************/

    /***********************   服务单级别  ***********************************/
    public final static String serviceLevel = "serviceLevel";
    public final static String p1 = "p1";
    public final static String p2 = "p2";
    public final static String p3 = "p3";

    /***********************       END       **********************************/


    /**
     * 合同类型
     **/
    public final static String CBS_CONTRACT_TYPE = "cbsContractType";
    public final static String CBS_CONTRACT_TYPE_WB = "1"; //维保合同
    public final static String CBS_CONTRACT_TYPE_SS = "2"; //销售合同
    public final static String CBS_CONTRACT_TYPE_MB = "3"; //模板合同
    public final static String CBS_CONTRACT_TYPE_QT = "4"; //其他

    /**
     * mc状态
     **/
    public final static String mc_status = "mcStatus";
    public final static String mc_status_1 = "1"; //未生效
    public final static String mc_status_2 = "2"; //生效中
    public final static String mc_status_3 = "3"; //已取消
    public final static String mc_status_4 = "4"; //已失效

    /**
     * 合同状态
     **/
    public final static String CBS_CONTRACT_STATE = "cbsContractState";
    public final static String CBS_CONTRACT_State_1 = "1"; //已撤销
    public final static String CBS_CONTRACT_State_0 = "0"; //正常

    /**
     * 付款状态
     **/
    public final static String CBS_CONTRACT_PAYSTATUS = "payStatus";
    public final static String CBS_CONTRACT_payStatus_1 = "1"; //未付款
    public final static String CBS_CONTRACT_payStatus_2 = "2"; //已付款

    /**
     * 第三方服务商
     **/
    public final static String THIRD_PARTY_REPAIRTYPE = "thirdPartyProvider";
    public final static String CBS_CONTRACT_repairProvider_1 = "77"; //华夏影联
    public final static String CBS_CONTRACT_repairProvider_2 = "06"; //时代
    public final static String CBS_CONTRACT_repairProvider_3 = "07"; //中仪
    public final static String CBS_CONTRACT_repairProvider_4 = "80"; //中巴服务
    public final static String CBS_CONTRACT_repairProvider_5 = "05"; //联科
    public final static String CBS_CONTRACT_repairProvider_6 = "02"; //天影
    public final static String CBS_CONTRACT_repairProvider_7 = "04"; //横店
    public final static String CBS_CONTRACT_repairProvider_8 = "03"; //博圣
    public final static String CBS_CONTRACT_repairProvider_9 = "89"; //CGV服务


    /**
     * 维修派单规则服务商指派类型
     **/
    public final static String CBS_CONTRACT_REPAIRTYPE = "repairType";
    public final static String CBS_CONTRACT_repairType_1 = "1"; //推荐
    public final static String CBS_CONTRACT_repairType_2 = "2"; //指定

    /**
     * 巡检派单规则服务商
     **/
    public final static String CBS_CONTRACT_INSPECTIONPROVIDER = "inspectionProvider";
    public final static String CBS_CONTRACT_inspectionProvider_1 = "1"; //华夏影联
    public final static String CBS_CONTRACT_inspectionProvider_2 = "2"; //时代
    public final static String CBS_CONTRACT_inspectionProvider_3 = "3"; //中仪

    /**
     * 巡检派单规则服务商指派类型
     **/
    public final static String CBS_CONTRACT_INSPECTIONTYPE = "inspectionType";
    public final static String CBS_CONTRACT_inspectionType_1 = "1"; //推荐
    public final static String CBS_CONTRACT_inspectionType_2 = "2"; //指定

    /**
     * 备件申请单状态
     **/
    public final static String status = "status";
    public final static String status_1 = "待审批"; //待审批
    public final static String status_2 = "审批通过"; //审批通过

    /**
     * 申请优先级
     **/
    public final static String apply_layer = "apply_layer";
    public final static String apply_layer_1 = "1"; //低
    public final static String apply_layer_2 = "2"; //中
    public final static String apply_layer_3 = "3"; //高
    public final static String apply_layer_4 = "4"; //加急

    /**
     * 申请理由
     **/
    public final static String apply_reason = "apply_reason";
    public final static String apply_reason_1 = "1"; //正常服务
    public final static String apply_reason_2 = "2"; //备件新损
    public final static String apply_reason_3 = "3"; //发错件
    public final static String apply_reason_4 = "4"; //运输损坏
    public final static String apply_reason_5 = "5"; //故障复现
    public final static String apply_reason_6 = "6"; //其他

    /*服务单上传文件类型*/
    public final static String Business_File_Type_A = "A"; //故障照片
    public final static String Business_File_Type_B = "B"; //上传特批文件

    /*服务单上传文件类型*/
    public final static String LOG_TYPE_1 = "1"; //故障照片
    public final static String LOG_TYPE_2 = "2"; //上传特批文件

    /***********************   附加任务完成状态  ***********************************/
    public final static String FINSHSTATUS = "finshStatus";
    public final static String pending = "1"; /*待处理*/
    public final static String doing = "2"; /*进行中*/
    public final static String finsh = "3"; /*已完成*/
    public final static String cancel = "4"; /*已取消*/

    /***********************       END       **********************************/

    /***********************   物流是否为推荐  ***********************************/
    public final static String ISPRIORITY = "isPriority";
    public final static String priority = "1";
    public final static String nopriority = "0";

    /***********************       END       **********************************/

    /***********************   仓库状态  ***********************************/
    public final static String ISCLOSE = "isClose";
    public final static String close = "1";
    public final static String open = "0";

    /***********************       END       **********************************/

    /***********************   SLA等级  ***********************************/
    public final static String SLATYPE = "slaType";
    public final static String sl1 = "1";
    public final static String sl2 = "2";
    public final static String sl3 = "3";
    public final static String sl4 = "4";

    /***********************       END       **********************************/

    /***********************     激光改造类型   *********************************/
    public final static String lRST = "lrst";
    public final static String lRST1 = "1";  /*未光改*/
    public final static String lRST2 = "2";  /*光峰光改*/
    public final static String lRST3 = "3";   /*巴可光改*/
    public final static String lRST4 = "4";  /*其他光改*/
    /***********************       END       **********************************/

    /*************************    服务单指派类型  *******************************/
    public final static String assign_type_1 = "1";  /*派给服务商*/
    public final static String assign_type_2 = "2"; /*内部转派（服务单页面转派）*/
    public final static String assign_type_3 = "3";  /*派给区域工程师*/
    public final static String assign_type_4 = "4";  /*派给普通工程师*/


    /*************************    END  *******************************/


    /*************************    服务单被指派角色  *******************************/
    public final static String assign_torole_1 = "1";  /*服务商商务*/
    public final static String assign_torole_2 = "2";  /*区域工程师*/
    public final static String assign_torole_3 = "3";  /*普通工程师*/
    public final static String assign_torole_4 = "4";  /*HD*/
    public final static String assign_torole_5 = "5";  /*CSA*/


    /*************************    END  *******************************/


    /*服务单关单日志类型*/
    public final static Integer Close_Service_Log_Type_1 = 1; //服务处理描述
    public final static Integer Close_Service_Log_Type_2 = 2;  //服务单日志

    //	提交时间两小时（该时限可以人为设置）后,定时任务
    public final static long selectStatusTiem = 7200000;
    //	HD派单服务商商务后1小时（该时限可人为设置）
    public final static long assignStatusTiem = 3600000;
    //	服务商商务拒单后5分钟
    public final static long refuseStatusTiem = 300000;
    //返件24小时候，短信提醒物流商务联系人
    public final static long returnEquimentTiem = 86400000;
    //维修服务单已完成三日后用户没评价，自动好评
//    public final static long evaluateTime =60*60*24*3*1000;
    public final static long evaluateTime =60*1000*60*24*3;


    /*服务单异常状态 1，打开  2，关闭 */
    public final static String service_ERROR_Log_Type = "serviceErrortype";
    public final static Integer service_ERROR_Log_Type_1 = 1; //待处理
    public final static Integer service_ERROR_Log_Type_2 = 2;  //已处理
    /*是否需要系统修改*/
    public final static String need_system_revise = "needSystemRevise";
    public final static Integer need_system_revise_1 = 1; //是
    public final static Integer need_system_revise_2 = 2;  //否

    /*返件状态 未返件_1,物流待处理_2,取件中_3,已入库_4,已取消_5 */
    public final static String RETURN_STATUS_Log_Type = "return_status";
    public final static String RETURN_STATUS_Log_Type_1 = "1";
    public final static String RETURN_STATUS_Log_Type_2 = "2";
    public final static String RETURN_STATUS_Log_Type_3 = "3";
    public final static String RETURN_STATUS_Log_Type_4 = "4";
    public final static String RETURN_STATUS_Log_Type_5 = "5";

    /*返件中的备件状态 DOA_1,好件_2,坏件_3, */
    public final static String RETURN_EQUIPMENT_STATUS = "return_equipment_status";
    public final static String RETURN_EQUIPMENT_STATUS_1 = "1";
    public final static String RETURN_EQUIPMENT_STATUS_2 = "2";
    public final static String RETURN_EQUIPMENT_STATUS_3 = "3";

    /*返件库位*/
    public final static String RETURN_KUWEI = "return_kuwei";
    public final static String return_kuwei1 = "105";//库位1
    public final static String return_kuwei2 = "106";//库位2

    /*返件入库开箱检查*/
    public final static String OPEN_CHECK = "open_check";
    public final static String  open_zc = "1";//正常
    public final static String open_swyc = "2";//实物异常
    public final static String open_bzyc = "3";//包装异常
    public final static String open_baan = "4";//baan系统入库异常
    public final static String open_qt = "5";//其他


    /*SLA是否使用中*/
    public final static String IS_USE = "is_use";
    public final static String IS_USE_1 = "1";
    public final static String IS_USE_0 = "0";
    /*SLA是否默认包含*/
    public final static String CONTAIN = "contain";
    public final static String CONTAIN_1 = "1";
    public final static String CONTAIN_2 = "0";

    public final static int Time = 1; //上门签到时间，1小时不能签2次


    /*软件版本状态*/
    public final static String softYes = "1"; /*已读*/
    public final static String softNo= "0";  /*未读*/


    /*微信认证级别*/
    public final static String WX_LEVEL = "wx_level";
//    public final static String WX_LEVEL_0 = "0";   /*非微信*/
    public final static String WX_LEVEL_1 = "1";   /*银牌*/
    public final static String WX_LEVEL_2 = "2";   /*钻石*/
    public final static String WX_LEVEL_3 = "4";   /*金牌*/
}
